home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / dev / gui / gtlayout.lha / Source / gtlayout_global.h < prev    next >
C/C++ Source or Header  |  1998-09-09  |  1KB  |  58 lines

  1. /*
  2. **    GadTools layout toolkit
  3. **
  4. **    Copyright © 1993-1998 by Olaf `Olsen' Barthel
  5. **        Freely distributable.
  6. */
  7.  
  8. #ifndef _GTLAYOUT_GLOBAL_H
  9. #define _GTLAYOUT_GLOBAL_H 1
  10.  
  11. /****************************************************************************/
  12.  
  13. #define SAVE_DS
  14. #define ASM    __asm
  15. #define REG(x)    register __ ## x
  16. #define LIBENT    SAVE_DS ASM
  17.  
  18. /****************************************************************************/
  19.  
  20. #ifdef LINK_LIB
  21. #undef SAVE_DS
  22. #undef REG
  23. #undef LIBENT
  24. #define SAVE_DS __saveds
  25. #define REG(x)
  26. #define LIBENT
  27. #endif    // LINK_LIB
  28.  
  29. /****************************************************************************/
  30.  
  31. #ifndef _GTLAYOUT_INCLUDES_H
  32. #include "gtlayout_includes.h"
  33. #endif    // _GTLAYOUT_INCLUDES_H
  34.  
  35. #ifndef _GTLAYOUT_H
  36. #define GTLAYOUT_OBSOLETE 1
  37. #define LayoutHandle PublicLayoutHandle
  38. #include "gtlayout.h"
  39. #undef LayoutHandle
  40. #define LayoutHandle LayoutHandle
  41. #endif    // _GTLAYOUT_H
  42.  
  43. #ifndef _GTLAYOUT_INTERNAL_H
  44. #include "gtlayout_internal.h"
  45. #endif    // _GTLAYOUT_INTERNAL_H
  46.  
  47. #ifndef _GTLAYOUT_DATA_H
  48. #include "gtlayout_data.h"
  49. #endif    // _GTLAYOUT_DATA_H
  50.  
  51. #ifndef _GTLAYOUT_LIBPROTOS_H
  52. #include "gtlayout_libprotos.h"
  53. #endif    // _GTLAYOUT_LIBPROTOS_H
  54.  
  55. /****************************************************************************/
  56.  
  57. #endif    // _GTLAYOUT_GLOBAL_H
  58.